# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=rubilyn
pkgver=0.0.1
pkgrel=5
pkgdesc='64bit Mac OS-X kernel rootkit that uses no hardcoded address to hook the BSD subsystem in all OS-X Lion & below. It uses a combination of syscall hooking and DKOM to hide activity on a host.'
url='http://nullsecurity.net/tools/backdoor.html'
groups=('blackarch' 'blackarch-backdoor')
license=('custom:unknown')
arch=('any')
source=("https://github.com/nullsecuritynet/tools/raw/main/backdoor/$pkgname/release/$pkgname-$pkgver.tar.gz")
sha512sums=('b5296de491d3ea5bbbaee1bd8908ad65520b2a95d31e7fe3eb3d8748ad16604e3ea51cba85e72dfa83193ac7197440d1c84626f97f953bcd5ffb6cc37e9d4f60')

package() {
  cd "$pkgname-$pkgver"

  install -dm 755 "$pkgdir/usr/share/$pkgname"

  cp -a * "$pkgdir/usr/share/$pkgname/"
}

